package com.wjm.thread.test0;

public class ThreadTest {
    public static void main(String[] args) {

        System.out.println("run..." + Thread.currentThread().getId() + ":" + Thread.currentThread().getName());
        int count = 5;
        MyRunnable myRunnable = new MyRunnable();
        for (int i = 0; i < count; i++) {
            Thread thread = new Thread(myRunnable);
            thread.start();
        }
    }
}
